package com.hefu.virtuallife.ui.purchase.fragment;

import com.hefu.virtuallife.R;
import com.hefu.virtuallife.baseui.BaseFragment;
import com.hefu.virtuallife.widget.RoundChatView;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;

/**
 * creat_user: zhengzaihong
 * email:1096877329@qq.com
 * creat_date: 2018/8/11
 * creat_time: 13:34
 * describe: 已使用的积分
 **/

public class MyUsedFragment extends BaseFragment {

    @BindView(R.id.roundChat)
    RoundChatView roundChat;

    public MyUsedFragment() {
    }

    @Override
    protected int getContentLayoutId() {
        return R.layout.fragment_usedpoint_recode;
    }

    @Override
    protected void initData() {
        super.initData();

        List<Float> ratioList = new ArrayList<Float>();
        ratioList.add(0.2f);
        ratioList.add(0.1f);
        ratioList.add(0.2f);
        ratioList.add(0.5f);
        // 设置饼状图的比例
        roundChat.setCount(4, ratioList);
    }


}
